<form method="post">
    <table>
        
        <tr>
            <td>
                Email: 
            </td>
                
            <td>
                <input type="text" name="data[email]" />
            </td>
        </tr>
        
        <tr>
            <td>
                Password:
            </td>
                
            <td>
                <input type="password" name="data[password]" />
            </td>
        </tr>        
        
    </table>
    <br/>
    <input type="submit" value="Login" /> <a href="javascript:contestapp.loginFacebook();">Connect to facebook</a> Or <a href="?action=register"> Register here</a>
</form>